package cl.kaisanetwork.kaisaportal.page.contact;

import org.springframework.stereotype.Component;

import cl.kaisanetwork.kaisaportal.page.BorderPage;
import cl.kaisanetwork.kaisaportal.page.accounts.SignUp;

@Component
public class Contact extends BorderPage {

	private static final long serialVersionUID = 1L;

	/* 
	 * @see org.apache.click.Page#onInit()
	 */
	@Override
	public void onInit() {
		super.onInit();
		setNavMenuSelected(BorderPage.CONTACT);
		setTitle("Contact Us");
		setTextTopBox("Get in touch with the <strong>Kaisa Network</strong> team. We’d love to hear from you. What’s <strong>up</strong>?");
	}
	
	@Override
	public boolean onSecurityCheck() {
		if(!super.onSecurityCheck()) {
			setRedirect(SignUp.class);
			return false;
		}
		return true;
	}
}
